package com.yellowpage.bigdata.data;

// default package

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * ActiveWeek entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="TM_APPONOFF_ACTIVE_WEEK"
    
)

public class ActiveWeek  implements java.io.Serializable {


    // Fields    

     private Integer tmApponoffActiveWeekId;
     private String version;
     private String channelNo;
     private Long cnts;
     private Date etlTime;
     private String dayId;
     private Integer createUser;
     private String note;


    // Constructors

    /** default constructor */
    public ActiveWeek() {
    }

    
    /** full constructor */
    public ActiveWeek(String version, String channelNo, Long cnts, Date etlTime, String dayId, Integer createUser, String note) {
        this.version = version;
        this.channelNo = channelNo;
        this.cnts = cnts;
        this.etlTime = etlTime;
        this.dayId = dayId;
        this.createUser = createUser;
        this.note = note;
    }

   
    // Property accessors
    @Id @GeneratedValue
    
    @Column(name="TM_APPONOFF_ACTIVE_WEEK_ID", unique=true, nullable=false)

    public Integer getTmApponoffActiveWeekId() {
        return this.tmApponoffActiveWeekId;
    }
    
    public void setTmApponoffActiveWeekId(Integer tmApponoffActiveWeekId) {
        this.tmApponoffActiveWeekId = tmApponoffActiveWeekId;
    }
    
    @Column(name="VERSION", length=128)

    public String getVersion() {
        return this.version;
    }
    
    public void setVersion(String version) {
        this.version = version;
    }
    
    @Column(name="CHANNEL_NO", length=128)

    public String getChannelNo() {
        return this.channelNo;
    }
    
    public void setChannelNo(String channelNo) {
        this.channelNo = channelNo;
    }
    
    @Column(name="CNTS")

    public Long getCnts() {
        return this.cnts;
    }
    
    public void setCnts(Long cnts) {
        this.cnts = cnts;
    }
    @Temporal(TemporalType.DATE)
    @Column(name="ETL_TIME", length=10)

    public Date getEtlTime() {
        return this.etlTime;
    }
    
    public void setEtlTime(Date etlTime) {
        this.etlTime = etlTime;
    }
    
    @Column(name="DAY_ID", length=18)

    public String getDayId() {
        return this.dayId;
    }
    
    public void setDayId(String dayId) {
        this.dayId = dayId;
    }
    
    @Column(name="CREATE_USER")

    public Integer getCreateUser() {
        return this.createUser;
    }
    
    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }
    
    @Column(name="NOTE", length=128)

    public String getNote() {
        return this.note;
    }
    
    public void setNote(String note) {
        this.note = note;
    }
   








}